// Windows测试文件
int main;
int result;

main = 10;
result = 0;

// 测试if-else语句
if (main > 5) {
    result = result + 1;
} else {
    result = result - 1;
}

// 测试while循环
while (main > 0) {
    result = result + main;
    main = main - 1;
} 